STEP 7: Let's now see what the discount amount will be!

  • Go to . Drag out Variable Display. Change the name to discount_display.
  • Change the argument in the .Display() command to discount. Change the x-coordinate to -50.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)